-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
AssemblyInfo: Determine which properties will be generated and their msbuild mappings #2
Comments
@brthor, I and the NuGet team sat down together and came up with the following maps:
|
Perhaps |
Ah yes, Language is programming language. Let's pick NeutralLanguage for now. |
I think it makes sense to leave this issue independent from the tracking of generating the assembly info. My reasoning is that I expect as you dig in to generating these things, you might find that some of the properties need to change and update this issue. I'll need to react to these changes in the migration tool. It'll be easier to recognize this with less noise on the issue. |
Are summary and owners no longer supported? Summary is displayed by the NuGet UI in the package list if the NuGet package defines it instead of the description which can be a large amount of text. |
Is there any work left here? @brthor @nguerrera |
@rohit21agrawal Has there been a decision on the |
|
How can |
the default is to not have a package type, which the client deduces to be of type dependency. on the more finer details, @joelverhagen will have an answer |
@brthor @davkean @nguerrera what msbuild property should we default to for $(Authors) ? since it is a required property I don't think its good to keep it empty. |
Concerning package type: The bottom line is that it should only be mentioned anywhere (.nuspec or .csproj) if it's not the default ( Concerning defaulting authors to empty: |
authors question is both for migration and new projects. |
Ideally the Or is the thinking that it should be defaulted in the User's project file? |
Correct. For project.json-based projects, the default author would be the name of the project: @brthor is correct as well. The SDK targets should default |
@eerhardt is there a bug tracking this in SDK? |
Outside of this one: no. |
Is there any work left here? |
I don't think so. Closing. |
Tasks and Targets required to publish ASP.Net Web Apps and Console apps
dotnet clean
(--all
?) can always fail before a build is run for apps with a RuntimeIdentifier
#30199
In dotnet cli AssemblyInfo is generated during each build from properties present in the project.json file. MSBuild currently relies on a template generated or user created AssemblyInfo to be present.
For certain options which need to be present in the
csproj
for pack (or other mechanisms) to function, it doesn't make sense to require putting these in both the project and AssemblyInfo.cs. (e.g.language
)For this reason it makes sense to generate a subset of the assemblyinfo from the project during build, and leave the rest to be manually entered.
To do this we need to determine what the subset of AssemblyInfo is that we're generating and how they map to msbuild options.
The text was updated successfully, but these errors were encountered: