Skip to content

Commit 7dfa080

Browse files
author
David Kline
authored
Merge pull request #7248 from davidkline-ms/knownIssues230
Document known issue / workaround for msbuildforunity #133
2 parents 26d90a4 + 4d79f3b commit 7dfa080

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed
24.6 KB
Loading
26.5 KB
Loading

Documentation/ReleaseNotes.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,26 @@ We are hoping to eventually deprecate ManipulationHandler and BoundingBox in fav
148148

149149
### Known issues in 2.3.0
150150

151+
**CS0579: Duplicate 'AssemblyVersion' attribute**
152+
153+
After enabling MSBuild for Unity, if Player Settings > Other Settings > API Compatibility Level is changed, Unity may report a large number of errors in project script files. Notably, there will be one or more CS0579 errors stating that there is a duplicate AssemblyVersion attribute.
154+
155+
This is caused by an issue in MSBuild for Unity ([#133](https://github.com/microsoft/MSBuildForUnity/issues/133)) where it is not properly removing dependency packages before restoring.
156+
157+
To resolve these errors:
158+
159+
- In the **Project** window, expand **Dependencies**
160+
- Open **Edit** > **Project Settings** > **Player**
161+
- Expand **Other Settings**
162+
- Examine the value of **Api Compatibility Level**
163+
164+
![API Compatibility Level](Images/ReleaseNotes/ApiCompatibilityLevel.png)
165+
166+
- If set to **.NET Standard 2.0**, delete the **Dependencies\net46** folder
167+
- If set to **.NET 4.x**, delete the **Dependencies\netstandard20** folder
168+
169+
![Duplicate dependencies](Images/ReleaseNotes/DuplicateDependencies.png)
170+
151171
**Issues with the Unity 2019.3 new XR platform on Windows Mixed Reality**
152172

153173
The following issues are known when using the new XR platform and version **2.0.4 (preview.3)** of the Windows XR Plugin:

0 commit comments

Comments
 (0)