dotnet / dotnet/project-system
CA1016 Mark assemblies with assembly version For VB Code Generation Projects
- Dominant language
- C#
- Stars
- 1k
- Forks
- 415
- PR merge metrics
- No merged PRs in 30d
Description
**Visual Studio Version**:
16.9 and 16.10 Preview 1
**Summary**:
Even though AssemblyVersion is set as shown below you get CA1016

**Steps to Reproduce**:
```XML
CVS_Generator
netstandard2.0
true
false
On
Text
Off
en-US
1.0.0.1
1.0.0.1
41999,42016,42017,42018,42019,42020,42021,42022,42032,42036
41999,42016,42017,42018,42019,42020,42021,42022,42032,42036
all
runtime; build; native; contentfiles; analyzers; buildtransitive
all
runtime; build; native; contentfiles; analyzers; buildtransitive
```
Possibly relates is the UI in Visual Studio does not show what is in Project File and changing in UI is not reflected in Project File only for this type of project.

This might be a separate bug and I can open a separate issue if necessary.
The project can be found at https://github.com/paul1956/CSharpToVB/
**Expected Behavior**:
No CA1016
**Actual Behavior**:
CA1016
**User Impact**:
Annoying as this only happens in Code Generator Projects and there is no way to make it go away
Contributor guide
Assessment
This issue has not been assessed yet.