I have created a Xamarin.iOS UI component without core project, only a Xamarin.iOS project, and I would like to package it with nuget which I can use across several projects. But I can't handle it.
I'm looking for proper steps for creating a Nuget Package based on my Xamarin solution.
The only thing I found is this command line nuget pack your.nuspec.
Obviously I'm on mac.
Thank's
Anthony;
Easiest way to make a nuget for ios - Visual studio for Mac.
Open project settings in ios settings page and enable "create package when building the project".
Then go to the Metadata and fill it. After that choose release mode and build, and finally check output directory(yourprojectname/bin/release).
I wanted to rename some projects in Rider but the Rename... button in the context menu is inactive. What am I doing wrong? The shortcut Ctrl+R,R also doesn't work. It's an ASP.NET Core project and I'm using Rider that has just been released. The solution was previously created by Visual Studio 2017 and I added other projects with Rider but even those new projects cannot be renamed. It works however on files but not on projects or solution folders.
Because it was not implemented:
https://youtrack.jetbrains.com/issue/RIDER-1224
I assume this is a simple fix considering I don't see any other posts about others having this issue. I am using VS2012 and I added slowcheetah 2.5.10.3 to the project using the nuget package installer.
I have tried opening a new console application as well as a unit test project, but in both I am not able to "add transform" to my App.config. The option in the context menu doesn't exist...
You will need to install the SlowCheetah Visual Studio extension to get the additional menus in Visual Studio. The NuGet package only adds a .targets file to the solution which is useful for command line (build server) scenarios.
I'm trying to document the original source for MonoMac.dll. I do realize that it shows up in the bin directory when I compile a MonoMac project, but where is the original? Finder doesn't seem to find it.
It's shipped as an addin to Xamarin Studio. Look in /Applications/Xamarin Studio.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.MonoMac.
(You can explore the Xamarin Studio bundle by right-clicking on the .app, and choosing 'Show Package Contents')
I'm currently running a latest Xamarin.Android trial installation with up-to-date Visual Studio 2012.
When opening .axml file in visual studio I can see a visual designer and can use it normally, when I switch to the "Source" tab I can see a perfectly fine layout xml with syntax highlighted and whatnot.
The problem is, that auto-complete can only suggest XML comment and CDATA elements, nothing else.
Is there a way to turn android-aware auto-complete in Visual Studio? I recall Xamarin Studio being able to auto-complete layouts, but when opening a solution, which was edited in Visual Studio, Xamarin Studio also fails to auto-suggest.
Any ideas? Thanks in advance.
EDIT: Switched to the paid version and the problem still persists in both Xamarin and Visual Studios.
In Xamarin studio you may simply right-click on axml file and select - "Open with/Source Code Editor"
Unfortunately, i can't check it in Visual Studio.
Actually you can easily add the Intellisense-like feature in visual studio for your android layout.
The step by step tutorial is here https://kb.xamarin.com/customer/portal/articles/1920119-how-do-i-enable-intellisense-in-android-axml-files-
After so many struggles, the only solution, which worked out for me after all, was to use IntelliJ IDEA or Eclipse to edit my android layouts, and writing code-behind in Xamarin Studio. Ditching Xamarin and going back to development with Java worked out even better.
For our project the best solution was to use
- VS to edit cs code
- Android studio to work with styles, layouts,...
How do we work:
Assume the project located in C:\projects\fun
Create an Android project in C:\projects\fun\AndroidStudio
Using bat script bellow create symlinks to resources folder and AndroidManifest.xml
script.bat
mklink /J C:\projects\fun\AndroidStudio\app\src\main\res C:\projects\fun\Resources
mklink /H C:\projects\fun\AndroidStudio\app\src\main\AndroidManifest.xml C:\projects\fun\Properties\AndroidManifest.xml
it doesn't require to use axml instead of xml files, designer works fine, preview too.
The Autocomplete work only on files with .axml extension.
If your file type is xml you can create new file with axml extension and copy the content of the xml old file to the new axml file (sometimes just renaming the file don't work)