Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
gemhost_csharp_example [2023/03/14 21:37] wikiadmin |
gemhost_csharp_example [2023/03/14 21:40] (current) wikiadmin |
||
---|---|---|---|
Line 5: | Line 5: | ||
Once you have this SECS/GEM model, you can deploy it with one-button push to a .NET assembly. | Once you have this SECS/GEM model, you can deploy it with one-button push to a .NET assembly. | ||
- | ==One-time .NET Project Setup== | + | **One-time .NET Project Setup** |
When you first create your project you will need to modify your .csproj to include the TransSECS generated jar. You need to modify the ItemGroup to include the generated .jar file Reference and AssemblyName. | When you first create your project you will need to modify your .csproj to include the TransSECS generated jar. You need to modify the ItemGroup to include the generated .jar file Reference and AssemblyName. | ||
Line 22: | Line 22: | ||
Here's the detailed steps using the GEMHost sample project as an example: | Here's the detailed steps using the GEMHost sample project as an example: | ||
- | | + | * Open a command prompt or PowerShell window. |
- | | + | * Navigate to your project directory. |
- | | + | * Run the following commands: |
| | ||
| | ||
- | | + | * Open your project' |
+ | |||
< | < | ||
- | < | + | < |
- | | + | |
</ | </ | ||
- | | + | * Add the following lines to your .csproj file: |
- | < | + | |
+ | < | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
- | | + | * Remember to replace " |
- | | + | * Save and close the .csproj file. |
- | ==Sample Host== | + | **Sample Host** |
The attached example demonstrates a host application. | The attached example demonstrates a host application. |