Skip to content
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

Error on importing the package #141

Closed
mksbamford opened this issue Oct 12, 2018 · 3 comments
Closed

Error on importing the package #141

mksbamford opened this issue Oct 12, 2018 · 3 comments

Comments

@mksbamford
Copy link

mksbamford commented Oct 12, 2018

System.Exception: Package directory not found:

"C:\Users\Mark\.nuget\packages\Microsoft.CSharp\4.0.1".
  at UnityEditor.Scripting.Compilers.NuGetPackageResolver.Resolve () [0x000dd] in <3f368bacb6c34f4db5fe7e90570f303a>:0 
  at AssemblyUpdater.Core.AssemblyUpdaterContext.AddFrameworkFolderToSearchPath (Mono.Cecil.AssemblyDefinition assemblyDefinition, Mono.Cecil.DefaultAssemblyResolver resolver, APIUpdater.Framework.Log.IAPIUpdaterListener listener) [0x000eb] in <3f368bacb6c34f4db5fe7e90570f303a>:0 
  at AssemblyUpdater.Core.AssemblyUpdaterContext.ReadAssembly (System.String assemblyPath, APIUpdater.Framework.Log.IAPIUpdaterListener listener, System.IO.FileAccess mode, System.String[] searchPaths) [0x0007a] in <3f368bacb6c34f4db5fe7e90570f303a>:0 
  at AssemblyUpdater.Core.AssemblyUpdaterContext.From (System.String assemblyPath, APIUpdater.Framework.Configuration.IConfigurationProvider configuration, System.String[] assemblySearchPaths, AssemblyUpdater.Core.UpdaterMode mode, APIUpdater.Framework.Log.IAPIUpdaterListener listener) [0x0002b] in <3f368bacb6c34f4db5fe7e90570f303a>:0 
  at AssemblyUpdater.Core.AssemblyUpdaterContext.From (System.String assemblyPath, System.String[] assemblySearchPaths, AssemblyUpdater.Core.UpdaterMode mode, APIUpdater.Framework.Log.IAPIUpdaterListener listener) [0x00001] in <3f368bacb6c34f4db5fe7e90570f303a>:0 
  at AssemblyUpdater.Application.Program.CheckForObsoleteAPIUsage (AssemblyUpdater.Application.CommandLineSpec config) [0x00013] in <3f368bacb6c34f4db5fe7e90570f303a>:0 
  at AssemblyUpdater.Application.Program.Main (System.String[] args) [0x00057] in <3f368bacb6c34f4db5fe7e90570f303a>:0 
UnityEditor.Scripting.APIUpdaterHelper:DoesAssemblyRequireUpgrade(String)
@alex-oreshko
Copy link
Contributor

Hello @mksbamford. Could you please describe what action did you do to get this error?
Did you import one of the latest Unity SDK 0.1.2 package?
Unfortunately I failed to reproduce this error importing latest packages. Could you please give us a little bit more details how to reproduce your issue. Also what platform do you use: mac/windows? Thank you!

@mksbamford
Copy link
Author

Action: I imported the AppCenterAnalytics-v0.1.2 package on windows.
It did appear to have any negative effects however, the package works fine, so its a very minor issue.

Looking in the folder C:\Users\Mark.nuget\packages\Microsoft.CSharp\ I have 4.3.0 rather than 4.0.1.
I think this is more an issue with Unity rather than the plugin.

@evgeny-pol
Copy link
Contributor

Hello @mksbamford , thanks for your feedback!
Are you experiencing any issues with SDK after this error and does it appear on next Unity Editor startup?
If not, then we going to close this issue, if you have no objections.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants