Comments (4)
Does the same solution build from the command line (dotnet build
)?
What's your output of dotnet --info
? Is it different from your colleagues?
from jab.
dotnet build
shows different errors because Xamarin is not supported by .net 5.
But I compared the output of dotnet --info
to my colleagus output. Turns out I had an old-ish version of the .net 6 preview running. I removed all previews and cleaned up, ran another uninstall-cleanup-install of VS2019.
Now the original error is gone and the namespace, as well as the attributes are recognized again. Unfortunately the solution still doesn't build because of the following error:
Error CS8032 An instance of analyzer Jab.ContainerGenerator cannot be created from C:\Users\me\.nuget\packages\jab\0.6.2\analyzers\dotnet\roslyn4.0\Jab.dll : Could not load file or assembly 'Microsoft.CodeAnalysis, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
from jab.
I was able to repo your original issue. It's fixed in 0.6.3 package. Unfortunately, I wasn't able to reproduce the updated issue. Can you try the fix and see if it helps?
from jab.
That did the trick. I just had to update to Jab 0.6.3 and everything compiles and runs perfectly.
From your changes I can grasp what happened. I just wonder what I did differently to cause this.
Thank you very much!
from jab.
Related Issues (20)
- Rider is unable to resolve Jab namespace HOT 6
- Auto register `IServiceScopeFactory` HOT 4
- Jab fails to source generate files on .NET Framework HOT 2
- IAsynDisposable is still emitted when the type doesn't exist (on .NET Framework) HOT 1
- Jab is not working with InternalsVisibleTo HOT 1
- Memory leak issue caused by IDisposable (?) HOT 1
- How do you inject IHttpClientFactory?
- How do you register implementations in separate libraries? HOT 3
- IServiceProvider inject HOT 1
- Generic attributes in .NET 7 HOT 6
- Register both as service and implementation HOT 1
- Unity support (Microsoft.CodeAnalysis 3.8) HOT 3
- Can I get additional services inside of a ServiceProviderModule factory method? HOT 2
- Constructor from other part of a partial class is not detected and produces invalid code. HOT 2
- System.UriFormatException from Request textDocument/references for source generator in vscode with C# extrnsion
- Is this project abandoned? HOT 4
- Support nullable as optional dependency HOT 1
- Kindly remove .NET 3.x HOT 1
- Removing unnecessary code from output assembly HOT 11
- Creating lazy type-safe factories for safe runtime service provision HOT 2
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 jab.