I created a project in Visual Studio without checking Build Yak Package.
Can the name and verison in manifest.yml be changed from VisualStudio during build?
Is the only way to do this is to open manifest.yml directly in a text editor and edit it?
What specifically doesn’t change what? Only some of the attributes are obtained via yak spec, it doesn’t do Icon and a few others for example. If you’re finding you can’t set manifest properties via the assembly you’ll need to add a step to edit the file or use a manual one.
In my testing the following assembly properties give the following manifest properties. You shouldn’t need to use a text editor if these are set, it should be automatic.
Some of these properties are obtained from the AssemblyInfo.cs as well. [assembly: PlugInDescription(DescriptionType.Organization, "Author")] → authors: - ... [assembly: PlugInDescription(DescriptionType.WebSite, "www.itsmywebsite.com")] → url: ...
It seems to be more accurate to put this code in the .csproj file.
However, it seems that “keyword” and “URL” cannot be added.
If you want to specify the details, it seems to be better to set it up from the command prompt through Yak.exe.
<PropertyGroup>
<!-- Specifies information for Assembly and Yak -->
<Version>1.0.0</Version>
<Title>Title</Title>
<Company>MyCompany</Company>
<Description>YakTest</Description>
<Authors>MyCompany</Authors>
<Product>RhinoSample</Product>
</PropertyGroup>