Comments (6)
Hi @markphillips100,
There is not currently a version of the credential provider built for .NET Core 3.0 preview. While not on our immediate backlog, we are currently investigating different possible ways of distributing the credential provider (besides the current install script), and runtime support will certainly be a decision factor.
Is there anything blocking you from building and running your own .NET Core 3.0 version of the credential provider? If not, I'm happy to help with doing so if you are having issues.
from artifacts-credprovider.
Dup of #51 @shubham90 fyi
from artifacts-credprovider.
Sorry for my late response @zarenner . I'll look into building my own core 3 preview version for now. If I get into issues I'll be in touch.
from artifacts-credprovider.
@zarenner my attempts at creating a .net core 3-preview5 version have stumbled a little so wonder if you can help?
The solution builds fine in VS2019 16.1.0. All tests pass.
I'm getting an error from an Azure DevSpaces .vsts-ci.yaml
build (PushNupkg:false) which occurs during the Build CredentialProvider
task. Here's a snippet of the log:
/opt/hostedtoolcache/dncs/3.0.100-preview5-011568/x64/sdk/3.0.100-preview5-011568/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(145,5): error MSB4018: The "GenerateDepsFile" task failed unexpectedly. [/home/vsts/work/1/s/CredentialProvider.Microsoft/CredentialProvider.Microsoft.csproj]
/opt/hostedtoolcache/dncs/3.0.100-preview5-011568/x64/sdk/3.0.100-preview5-011568/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(145,5): error MSB4018: System.TypeLoadException: Could not load type of field 'Microsoft.NET.Build.Tasks.DependencyContextBuilder2:_filteredPackages' (12) due to: Could not resolve type with token 01000020 from typeref (expected class 'NuGet.Packaging.Core.PackageIdentity' in assembly 'NuGet.Packaging, Version=5.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35') assembly:NuGet.Packaging, Version=5.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 type:NuGet.Packaging.Core.PackageIdentity member:(null) [/home/vsts/work/1/s/CredentialProvider.Microsoft/CredentialProvider.Microsoft.csproj]
Setup and changes
I forked the repo and branched here. If you compare you'll see the changes I've made but in summary I did the following:
- SDK installer version changed to
3.0.100-preview5-011568
- Target
netcoreapp3.0
in csproj file, and changed all occurrences ofnetcoreapp2.1
tonetcoreapp3.0
.
The error occurred with just those changes so I also did the following but the error occurs still:
- Updated NuGet.Protocol reference to 5.1 - not sure this is necessary or not
- Install NuGet 5.1 - again, not sure this is necessary or not.
from artifacts-credprovider.
Looks like you're hitting this issue (all same issue, just different info about it):
- NuGet/Home#7956
- https://developercommunity.visualstudio.com/content/problem/481018/resolvepackageassets-task-failed.html
- https://rider-support.jetbrains.com/hc/en-us/articles/360004180039-Incompatible-versions-of-Mono-MSBuild-and-NET-Core-SDK-MSB4018-
I've confirmed that building using dotnet (instead of the MSBuild task) succeeds:
https://dev.azure.com/zlrenner/ArtifactsCredProviderUnofficial/_build/results?buildId=410&view=logs&j=12f1170f-54f2-53f3-20dd-22fc7dff55f9
Let me know if you have trouble with the same.
from artifacts-credprovider.
Thanks @zarenner, builds fine now after switching to dotnet cli. I should be good from here.
from artifacts-credprovider.
Related Issues (20)
- Nu
- Azure Artifacts Credential provider failing to start HOT 6
- NullReferenceException in v1.0.9 HOT 3
- Azure Devops: gzip: stdin: unexpected end of file HOT 3
- Problem starting the plugin - Broken Pipe HOT 1
- How to do enhanced debugging? HOT 1
- Issue authenticating to Azure Artifacts via Python behind firewall decryption HOT 1
- Use Windows authentication context from in WSL HOT 6
- System.Security.Cryptography.CryptographicException on remote connections HOT 9
- The last Create 1.1.0 release Build Failed. When v1.1.0 will be released? HOT 6
- The messages logged by the credential providers are not localized. HOT 3
- Inconsistent account selection modal behavior across operating systems HOT 3
- MsalInteractiveTokenProvider breaks if no console window handle available HOT 4
- Artifacts Conda Remove SDK Dependency HOT 2
- Credential provider is not working on new laptop HOT 4
- `JsonException` with Release `1.1.0` when using `VSS_NUGET_EXTERNAL_FEED_ENDPOINTS` HOT 4
- dotnet list <SOLUTION> package --vulnerable/--outdated/--deprecated fails with Azure Artifacts Credential Provider HOT 7
- Are the Requirements Correct? HOT 4
- The proxy tunnel request to proxy failed with status code '407' HOT 1
- .NET 8 is not supported yet
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 artifacts-credprovider.