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

Missing reference for System.Management in Community.Data.SQLite.sln #38

Closed
GoogleCodeExporter opened this issue Jul 11, 2015 · 5 comments

Comments

@GoogleCodeExporter
Copy link

I just checked out the source using mercurial today.

When I went to compile the Community.Data.SQLite.dll, I got an error saying
that it couldn't find the assembly System.Management. (I disremember the
exact error message)

When I looked at the list of references in Visual Studio's Solution
Explorer, I discovered that, sure enough, System.Management was not listed
as being referenced. After I added it, it compiles just fine.

I use the full version of Visual Studio 2008

Original issue reported on code.google.com by mels...@gmail.com on 2 Oct 2009 at 7:22

@GoogleCodeExporter
Copy link
Author

just add a reference to "System.Management"

kr, zara

Original comment by zarawe...@gmail.com on 17 Dec 2009 at 12:52

@GoogleCodeExporter
Copy link
Author

Zara,

Indeed. As I said, that's what I did, and it works. 

However, since I had to modify the project to get a clean compile, that 
qualifies as
a bug in my book. (a minor bug, but a bug, nonetheless) And since I don't have 
the
ability to check-in changes to the source tree, I filed a bug report detailing 
the
problem I found and how I fixed it so that someone else can make the change.

Original comment by mels...@gmail.com on 17 Dec 2009 at 2:37

@GoogleCodeExporter
Copy link
Author

Where did you add the reference?  In a using statement or to the project itself?

Original comment by noah.hart@gmail.com on 17 Dec 2009 at 2:47

  • Changed state: Accepted
  • Added labels: Priority-Low
  • Removed labels: Priority-Medium

@GoogleCodeExporter
Copy link
Author

Noah,

To the project itself. The using statement was there in the .cs file, but
System.Management was missing from the list of references using the Solution 
Explorer. 
After I added it to the list of references in the Solution Explorer, it 
compiled fine.

I don't remember if Visual Studio 2008 had to convert the solution and project 
files
from an earlier version of Visual Studio or not, since this was now two months 
ago.
If so, it's possible that the reference got dropped during the conversion 
process.

Original comment by mels...@gmail.com on 17 Dec 2009 at 2:54

@GoogleCodeExporter
Copy link
Author

New version pushed with missing reference

    <Reference Include="System.Management" />

Original comment by noah.hart@gmail.com on 21 Dec 2009 at 7:48

  • Changed state: Fixed

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

No branches or pull requests

1 participant