Comments (6)
It is not entirely a dotnet core solution, so you have to do this:
nuget restore xmlnotepad.sln
echo namespace XmlNotepad { public partial class AppAnalytics { private const string ApiKey="%XMLNOTEPAD_ANALYTICSKEY%"; } } > src\model\ApiKey.cs
msbuild xmlnotepad.sln
I added this to the build instructions.
from xmlnotepad.
Working fine in debug, but still fails in release and just using build.cmd
from xmlnotepad.
Try loading C:\dev\DevPerso\XmlNotepad\src\XmlNotepad.sln in Visual Studio 2022 and select Release/Any CPU build configuration then select "Build/Rebuild" option. Rebuild should restore all missing packages.
from xmlnotepad.
It is exactly what is not working. even on your build script debug is OK release fails.
from xmlnotepad.
Hmmm, can check you can access https://www.nuget.org/packages/Newtonsoft.Json/13.0.3 ?
If so, please run git clean -dfx
in the root of your XmlNotepad repo and nuget locals all -clear
to force nuget to download the packages again, then turn on msbuild diagnostic verbosity:
this select the "Rebuild" option and send me the verbose build output? my electronic mail alias at microsoft is clovett.
from xmlnotepad.
Also if you run this:
nuget search Newtonsoft.json
Does it show
====================
Source: nuget.org
--------------------
> Newtonsoft.Json | 13.0.3 | Downloads: 4,627,283,248
Json.NET is a popular high-performance JSON framework for .NET
? You might have a corporate environment that is limiting which packages you can use...
from xmlnotepad.
Related Issues (20)
- Unhandled exception on XML file load of XML document known to accepted by target entity HOT 5
- electronic invoice in UBL format takes long time to open (several minutes) HOT 1
- Setup: used folders on Win 10 HOT 3
- Question: missing line-break when using XSLT identity transformation HOT 6
- File - New: Keeps the current file HOT 3
- Multiple instances resets the settings HOT 4
- Sugg: Clear message for long XSLT-Transform HOT 3
- Reload of a "not loaded" file HOT 2
- "XML Reload" removes loaded XSLT HOT 4
- Crashes since 2.9.0.9 HOT 7
- XSLT - merging two not opened files
- Error Installing on another drive HOT 2
- Feature Request - Ability to open JSON files that begin with an array HOT 2
- Feature request - Schematron validation HOT 3
- Feature request - User Templates of Prepopulated subnodes
- Error message when opening SVG files HOT 5
- Feature Request - Keyboard shortcut to comment/uncomment nodes HOT 3
- XmlNotepad detects xml-errors at empty nillable xsd:date Elements, but xml is correct
- Saving file introduces a new line at the top of the file, breaking my xml HOT 4
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 xmlnotepad.