Utility + Click Once Selector
This utility is useful for executables only
Turn off the option Use “.deploy” file extension
The following utility was created for projects that leverage click once for deployment of all necessary resources w/o fully utilizing the install aspect. It leverages the publish directory and the naming conventions to automatically know which directory to open as well as the file to execute.
TECHNOLOGY
.NET Core
CATEGORIES
Click Once Deployment
CODE
C# | C Sharp
Getting Started:
Compile the .NET Core Console program and modify the appsettings.json file:
Modify the appsettings.json file to point to your publish directory
Modify the appsettings.json file to point to your stable release version
Copy to Clipboard
Source:
Copy to Clipboard
Copy to Clipboard
Copy to Clipboard
Recommendations:
- Switch the solution to a .NET Framework Application
- This would hide the console program window
- Add Error Handling
- Isn’t needed in the current implementation
- Specify Bleeding Version
- You can specify the stable and bleeding version if you publish / deploy daily