Comments (5)
@anilSimon123 could you try cleaning the solution and building it again? I am confused about the errors because in mentions "C:\graph\active-directory-dotnet-daemon-v2" but this is not the correct sample. This one is ms-identity-aspnet-daemon-webapp.
I have cloned it on my machine and I couldnt get these errors.
from ms-identity-aspnet-daemon-webapp.
I downloaded the solution it, cleaned and built it...but still getting the same errors
Severity Code Description Project File Line Suppression State
Error CS0234 The type or namespace name 'Identity' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) UserSync C:\csharp graph\ms-identity-aspnet-daemon-webapp\UserSync\Controllers\AccountController.cs 25 Active
Error CS0246 The type or namespace name 'ITokenCache' could not be found (are you missing a using directive or an assembly reference?) UserSync C:\csharp graph\ms-identity-aspnet-daemon-webapp\UserSync\Utils\MSALAppTokenMemoryCache.cs 42 Active
Error CS0246 The type or namespace name 'TokenCacheNotificationArgs' could not be found (are you missing a using directive or an assembly reference?) UserSync C:\csharp graph\ms-identity-aspnet-daemon-webapp\UserSync\Utils\MSALAppTokenMemoryCache.cs 59 Active
Error CS0246 The type or namespace name 'TokenCacheNotificationArgs' could not be found (are you missing a using directive or an assembly reference?) UserSync C:\csharp graph\ms-identity-aspnet-daemon-webapp\UserSync\Utils\MSALAppTokenMemoryCache.cs 72 Active
Error CS0246 The type or namespace name 'ITokenCache' could not be found (are you missing a using directive or an assembly reference?) UserSync C:\csharp graph\ms-identity-aspnet-daemon-webapp\UserSync\Utils\MSALUserTokenMemoryCache.cs 42 Active
Error CS0246 The type or namespace name 'TokenCacheNotificationArgs' could not be found (are you missing a using directive or an assembly reference?) UserSync C:\csharp graph\ms-identity-aspnet-daemon-webapp\UserSync\Utils\MSALUserTokenMemoryCache.cs 50 Active
Error CS0246 The type or namespace name 'TokenCacheNotificationArgs' could not be found (are you missing a using directive or an assembly reference?) UserSync C:\csharp graph\ms-identity-aspnet-daemon-webapp\UserSync\Utils\MSALUserTokenMemoryCache.cs 60 Active
Error CS0246 The type or namespace name 'TokenCacheNotificationArgs' could not be found (are you missing a using directive or an assembly reference?) UserSync C:\csharp graph\ms-identity-aspnet-daemon-webapp\UserSync\Utils\MSALUserTokenMemoryCache.cs 71 Active
Error CS0246 The type or namespace name 'TokenCacheNotificationArgs' could not be found (are you missing a using directive or an assembly reference?) UserSync C:\csharp graph\ms-identity-aspnet-daemon-webapp\UserSync\Utils\MSALUserTokenMemoryCache.cs 80 Active
from ms-identity-aspnet-daemon-webapp.
@anilSimon123 would it be a path length issue with some nuget packages
do you want to try to rename the ms-identity-aspnet-daemon-webapp project to webapp ?
from ms-identity-aspnet-daemon-webapp.
You mean the whole project? or should i do something like reinstall the nuget packages?
from ms-identity-aspnet-daemon-webapp.
I just mean that you might want to move the code closer to the root of the hard drive, and then restore the nuget packages. Sometimes there are very long nuget packages, and they fail to restore (with no explicit message).
from ms-identity-aspnet-daemon-webapp.
Related Issues (19)
- Graph access always returns 403, even after admin consent HOT 70
- Consider writing a daemon example as an actual daemon, not a web application HOT 12
- Missing step in registering the App HOT 2
- Graph AD don't find sharepoint sites HOT 1
- error while running the application HOT 3
- When using AcquireTokenForClient(), should we use a TokenCache ? HOT 1
- Can token caching be simplified to singleton dependency injection? HOT 5
- Graph: Filter Calendar Events by Attendees HOT 2
- Sample is old and does no build HOT 2
- Great sample, but hard to follow HOT 4
- Sample of exposing own secured api and calling via daemon app on its own name HOT 4
- How to protect web api accessible from multiple daemon apps? HOT 6
- Non-expiring secrets not supported any more HOT 2
- A company plans to deploy a non-interactive daemon app to their Azure Tenant. HOT 1
- the example does not work with personal email HOT 3
- We had trouble sync'ing users, please try again. If problem persists, file an issue on GitHub :) HOT 1
- Sample requires installation of .NET Framework devpack 4.6.1 (not supported) and throws exception on launch.
- repeatedly asked to Grant permissions 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 ms-identity-aspnet-daemon-webapp.