Where is AssemblyInfo.cs [Answered]
I just learned that I am not supposed to make my projects using the .NET Framework project templates, and I can't find AssemblyInfo.cs to set the version in my new project. I tried to make the file myself, but it said the version attributes were duplicates.
35 Replies
set the version in the project properties
I thought that setting was for making NuGet packages
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
So I need to make a file myself for the product version?
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
or, again
set it in the properties
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
yes, you can do that just fine
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
there is absolutely 0 downside of it
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
I'm confused
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
what?
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
making up things or what
What is the name of the property for prodcut version?
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
so create a new release
not that difficult
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Is it "Package Version"?
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Or is that for NuGet
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
it's just a version number, i could set it to 532.1.22.8475 and set my release version number to 0.1
fuckin who cares
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
So what is the property name for the product version?
tebeco#0205
same result:
dotnet build -c Release /p:Version=1.2.3-rc.01
dotnet build -c Release /p:VersionPrefix=1.2.3 /p:VersionSuffix=rc.01
Quoted by
<@!689473681302224947> from #Where is AssemblyInfo.cs (click here)
React with ❌ to remove this embed.
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Okay
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
setting the version doesn't "cause bugs"
.net doesn't care
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
they don't want to make a package?
who ever said that
✅ This post has been marked as answered!