Comments (14)
Hey, I submitted a PR relevant to this issue :)
You can reproduce the "System.Type was somehow not found. Aborting." issue by using "dotnet build" from Powershell.
from someta.
Huh, strange, I'll give it a try after my dinner!
Out of interest, are you building on Windows/Linux/MacOS? The C:/ drive showing up in the error message is making me wonder if this is some platform dependency issue
from someta.
Ahh yes of course... I forgot the colonies tend to get quite rowdy about this time of year! Nah, I hope you had a good break mate!
As for testing on Linux (if Mac doesn't reproduce the issue), WSL2 is very easy to set up and should hopefully make testing it easy for you! Happy to help with that if your'e not familiar!
from someta.
I've tried adding a zip to this but for some reason Github won't let me upload it, if it's vital you get it as a zip let me know and I'll upload it somewhere you can grab it!
from someta.
Thanks, the link to your GitHub repo is perfect. Starting to look at it now.
from someta.
So after checking out your repo I was able to successfully build your solution. (I checked out the user-validator
branch, of course)
I then created an empty implementation of IUserRepository
and added the following lines to your UnitTest1
:
[Fact]
public void Test1()
{
var userService = new UserService(new UserRepository());
userService.CreateUser(null, null, null);
}
I then debugged the test after putting a breakpoint inside the Invoke
method in ValidatedMethodAttribute
and the breakpoint was successfully hit. So it all seems to be working for me.
Do you think you could try a clean checkout (into a new folder) like I just did? I wonder if you have some cruft hanging around your obj
folder that is somehow getting in the way of a successful build.
from someta.
Yup, I get the same issue on a clean build... Could you try building it in either WSL or a linux docker container? That would pretty much confirm the issue. I've not got anything running Windows to test on I'm afraid
from someta.
Oh, interesting. I definitely haven't tried it in that scenario. And yeah, I'll give that a whirl, though might not be able to get back to you until tomorrow. Thanks for working with me on this, as I'd like it to work for everyone. :)
from someta.
No worries mate, let me know if there's anything I can do to help!
from someta.
Hey my dude, wondering if you've had a chance to look at this or if there's anything I can do to help? Of course, no worries if not, I know how busy life gets!
from someta.
Hey, sorry, the 4th of July festivities took up way more of my time than I was anticipating. :) But I'm planning to look at it tomorrow. Hopefully it's reproducible on a Mac, as Linux is a bit tricker for me to test on, though I can if it comes to it.
from someta.
Love it! And thanks! I have WSL installed, so can definitely go that route. Made some headway today just getting set up, but hopefully more time tomorrow.
from someta.
Thanks for all of your help on this one mate, there's no rush, this isn't for production code or anything, just a useful tool to have in my belt
from someta.
@kswoll - Any chance you've got the time to take a look at #20 ?
from someta.
Related Issues (6)
- TypeLoadException when using class level type constraints HOT 2
- Target netstandard2.0, netstandard2.1 ? HOT 2
- Allow for attribute chaining HOT 1
- Add ability for interceptors to inject custom state HOT 1
- Provide ability for property interceptors to have the accessors injected into the interceptor HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from someta.