page 6
Step 6. Fix duplicate assembly information
Build solution (press F6). As expected, you should get "Build failed" message in status bar and 4 errors in Error List table.

In Solution Explorer, click on Properties and open AssemblyInfo.cs
Double-click on each error in Error List to its location. Visual Studio will automatically underlines offending attributes.

Edit AssemblyInfo.cs to group 4 offending attributes together and add #if directive around them
#if !ASSEMBLY_INFO_FILE_ADDED // if AssemblyInfo file is NOT added
#endif

In Project Designer, select Build Property page:
In Configuration pull-down box, select All Configurations
In Conditional compilation symbols text box, enter "ASSEMBLY_INFO_FILE_ADDED"

Rebuild solution (F6)
< Page 5 | Page 6 | Page 7 >
Build solution (press F6). As expected, you should get "Build failed" message in status bar and 4 errors in Error List table.

In Solution Explorer, click on Properties and open AssemblyInfo.cs
Double-click on each error in Error List to its location. Visual Studio will automatically underlines offending attributes.

Edit AssemblyInfo.cs to group 4 offending attributes together and add #if directive around them
#if !ASSEMBLY_INFO_FILE_ADDED // if AssemblyInfo file is NOT added
#endif

In Project Designer, select Build Property page:
In Configuration pull-down box, select All Configurations
In Conditional compilation symbols text box, enter "ASSEMBLY_INFO_FILE_ADDED"

Rebuild solution (F6)
< Page 5 | Page 6 | Page 7 >

