在VS2017中,我使用XAF解决方案向导(实体框架代码-首先)创建了一个新的Winforms项目
In VS2017 I created a new Winforms project using the XAF Solutions Wizard ( Entity Framework Code - First)
该向导会根据我选择的选项添加引用.
The wizard adds references according to options I select.
现在,我想更改所有软件包以将我的Nuget提要用于Dev Express参考.
Now I want to change all the packages to use my Nuget Feed for the Dev Express References.
XAF确实有Nuget包
是否可以使用Nuget命令自动执行此操作?
Is there a Nuget command that I can use to do this automatically?
交叉发布到Dev Express
推荐答案除非在XAF社区项目 expandFramework .在某些情况下,它是行不通的,但是对于类似的情况,这是我们的工作.
There is no way to do this with Nugets unless you script your way out as we are doing in XAF community project expandFramework. For some cases it won't work, however for a similar case here is what we do.
Get-DxNugets 18.2.6
`Nuget Install packageName -OutputFolder $commonOutputFolder
Update-HintPath -OutputPath "$packageInstallationfolder" -SourcesPath $rootPath -filter "DevExpress*"
所有powershell函数都来自 XpandPosh 项目.不幸的是,有许多有用的方法,没有文档.但是您可以获得支持
all powershell functions come from the XpandPosh project. There are many helpful methods there unfortunately no docs. But you can get support
更多推荐
Nuget命令将现有引用替换为nuget引用?
发布评论