-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add #error to custom UI template reminding people to replace the GUID #1597
Conversation
There's a few google results for this GUID that probably shouldn't be using this GUID :) I used `#error` based on line 5
…ggered by #1597 Contributed by @fredemmott
Thank you Fred, Thank you for your contribution. |
- #1574: Cannot build .net 8 example project - #1587 Support for pulling in dlls for runtime dependencies - VSTemplates update. Added warning message about `project.GUID`. Triggered by #1597 Contributed by @fredemmott - Added errorhandling to continue extecution if WiX extension is not install. The error will still be reported by the WiX compiler - Added `Project.AddCastomActionRefAssembliesOf` to add CA referenced assemblies programmatically.
Please note that at the moment I only released the nuget packages. The project template extension is yet to be released. |
I'm not too familiar with dotnet templates, is it possible to generate a new random GUID each time a new project is created from it? |
Not exactly. You can have something like this: project.GUID = Guid.NewGuid(); Ore even not setting it at all. But this will lead to a new GUID being generated every time you build your msi. Not a great experience :( And VS does not offer any other templating mechanism. |
Well... I am wrong. There is a mechanism :) Thank you for insisting on this. |
Done.
|
There's a few google results for this GUID that probably shouldn't be using this GUID :)
I used
#error
based on line 5