Hi, Still trying to setup my first test with DataObjects.NET on my project. Relevant to this scenario I have:
Other relevant info: On Domain.Tests.RandomTestClass
On Domain.Tests.App.Config
On both Domain.Tests.csproj and Domain.csproj I have: And I don't have: When I try to run the unit test, I get: Assembly 'Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' is not processed by PostSharp. See section 2 of Manual for details. What am I messing up? From what I've seen in other questions, it looks like it's the way it's meant to be. Thanks! |
Pedro, consider using Project tool for the project. Dmitri, I did use it. And I don't remember modifying .csproj after using it. Is there anything wrong with my .csproj? Tks! Pedro, do you have DataObjects.Net installed or not? It was installed using the package available on the website. I'm using VS 11, so I don't have project templates available. I used the Project Tool to create the references and stuff in my projects inside the solution. I was able to get it working on a single project first-test (everything was on the same project, 1 assembly, just as a test case and everything worked). When I moved to my "real" project I started getting these issues I can't pinpoint the solution. I've been even comparing my test project (working) with the real one (showing this issue) [comparing .csproj, references, etc] and they seem the same, so I'm clearly missing something. Dmitri, tks for the help so far, but hold on that... I think I got it to advance rewriting stuff from my CSPROJ of the test project. It's not clear what was wrong, but I was screwing something up it seems. Pedro, if you send us the solution we could check what is wrong, fix it and send back to you. E-mail is support at x-tensive dot com 1
Dmitri, Tks for the help. I've found the error. Short answer: I screwed up. Long answer: for some reason the <import project="$(MSBuildExtensionsPath)\\DataObjects.Net\\v4.5\\DataObjects.Net.targets"/> line was missing on the UnitTest project I was running. Added it, everything worked. Pedro, thanks for informing us that the issue is solved! |