我对Visual中的包使用Paket而不是Nuget非常感兴趣。
到目前为止,这也很好。但问题是,Visual总是认为每个项目的app.config都已更改。但是,看看我在Git工具中的变化,没有什么变化。即使我在运行之前直接构建,例如我的单元测试。
你有什么意见建议?
我的paket.dependencies看起来是这样的:
// Only the target frameworks that are used in projects.
framework: net461
content: none
source https://api.nuget.org/v3/index.json
source http://myownnugetrepo.com/nexus/
nuget SharpZipLib 0.86.0
nuget Autofac.WebApi2.Owin
nuget My.Own.Package redirects: on
nuget EasyNetQ.DI.Autofac
nuget EFInteractiveViews
nuget ExcelDataReader.DataSet
nuget FluentAssertions
nuget Microsoft.AspNet.WebApi.OwinSelfHost
nuget Microsoft.CSharp
nuget Microsoft.Diagnostics.Tracing.EventSource
nuget Microsoft.Graph
nuget Microsoft.Identity.Client
nuget Microsoft.IdentityModel.Clients.ActiveDirectory
nuget Microsoft.VisualStudio.SlowCheetah
nuget NSubstitute
nuget NUnit
nuget Oracle.ManagedDataAccess.EntityFramework
nuget RestSharp.Newtonsoft.Json.Extensions
nuget Serilog.Sinks.Async
nuget Serilog.Sinks.Console
nuget Serilog.Sinks.RollingFile
nuget Swashbuckle
nuget Topshelf.SerilogVisual怎么说(如果使用对角模式构建):
项目“My.Project”不是最新的。在输出文件'‘之后修改输入文件'C:\Projects\My.Project\src\My.Project.Interface\app.config’。
发布于 2018-09-10 05:22:19
好的我知道了。在沉睡之后,我找到了Paket命令来执行以下操作:
paket auto-restore on这解决了我的问题。我以为它是自动完成的,把这个项目从nuget转换到paket,但事实并非如此。现在它起作用了。
https://stackoverflow.com/questions/52220021
复制相似问题