I'm trying to develop a mobile app by xamarin forms in visual studio 2017. I named my project 'Note' and then named it again 'Notes'.So I changed all 'Note' to 'Notes'.When building my project that gives a warning, Certificate File 'Note.UWP_TemporaryKey.pfx' not found. Please help me!
Double click on the your namespace and right click and then select "Rename" and enter your new namespace and press "Apply" on the dialog box.
Related
I am working on a Xamarin.Forms app with PDF features. I am taking my first shot at using PdfSharp (PdfSharp.Xamarin.Forms forked from PdfSharpCore) but finding it's not entirely developer-friendly. I'm trying to use PDFManager and PDFManager.GeneratePDFFromView and was able to do so successfully in my Android project, but it's not working in UWP. The Git page says to init in the UWP App.xaml.cs like this:
PdfSharp.Xamarin.Forms.UWP.Platform.Init();
But when I try this I get the error "The type or namespace name 'UWP' does not exist in the namespace 'PdfSharp.Xamarin.Forms'". Again, I had no problems initializing in Android, but .UWP is not recognized for UWP. I would open this as an issue on GitHub but the option doesn't seem to be there for this repository.
You need to either find PdfSharp.Xamarin.Forms.UWP.dll from the source website directly or download the sample code from that website and build it. Either way this .dll is the file you are looking for. Once you have a copy of this file, use Project>Reference 'Add Reference' to add this .dll to your UWP project. You should find that PdfSharp.Xamarin.Forms.UWP.Platform.Init() is now accepted.
..But of course there is NO guarantee that PdfSharp.Xamarin.Forms will WORK even if you DO successfully add the library ...
I am using Visual Studio for the Mac and I want to test out some of my ideas in a script file. When I try and add a reference to Xamarin Forms in the script, the netstandard assembly can't be located.
For example
#r "/packages/Xamarin.Forms.3.0.0.482510/lib/netstandard2.0/Xamarin.Forms.Core.dll"
type Hex(tile: Tile) =
inherit Frame()
member this.Tile = tile
The type "object" is required here and is unavailable. You must and a
reference to assembly .netstandard Version 2.0.0.0
The thing is, I can't find where that would be on my local file system and just doing this
#r "NETStandard.Library.dll"
does not work
I am sure this is not the best way, but I went into the Finder, Hit Go -> Computer and put "net standard" in the search bar. Lots of hits came back so I just picked an arbitrary net standard.dll and selected "copy path" which I pasted into the fsi. It works, but I want to take a shower now....
when I opened my view or .cshtml page in my mvc project,
It shows the error in the alert box, "could not load file or assembelly Microsoft.VisualStudio.Editor.Razor, Verrsion=2.1.2.0".
Can any one please in my issue,
Thanks
I followed instrction on this link but not worked.
[https://developercommunity.visualstudio.com/content/problem/194267/the-document-cannot-be-opened-it-has-been-renamed.html][2]
Issue is raised when Razorlanguage services is disables.We can Enable Razorlanguage services through visualstudio -->Tools -->Extensions and updates --> Search for Razorlanguageservices enable.
1)Close VS
2)Delete the content of %LocalAppData%\Microsoft\VisualStudio\14.0\ComponentModelCache
Note:- here 14.0 visual studio version may be in your system different like
15,15.0_867fe6fa etc
3)Open VS
its work for me
I'm using Visual Studio 2010 and Enterprise Library Validation 5.0.505.0 in my class library. But I'm facing error like
Activation error occured while trying to get instance of type AttributeValidatorFactory, key ""
I face error on the following line.
Validation.ValidateFromAttributes(obj);
where obj is the custom object.
I don't how to solve this one. Please, help !!
Thanks in advance.
I just add the Microsoft EnterpriseLibrary reference to my Website. In my case the DLL Microsoft.Practices.EnterpriseLibrary.Validation resides in the following path
C:\Program Files (x86)\Microsoft Enterprise Library 5.0\Bin\Microsoft.Practices.EnterpriseLibrary.Validation.dll
To find out the path you should follow the step.
Right Click on the DLL > Click on Properties > Here there is property naming
Path
And a very small trick.
Right Click on the DLL > Click on Properties > Make Copy Local to True (By default the property is False)
Now, I Clean my solution and Build it and re-run the solution.
The application is running properly without any error. BINGO !!!!
I was trying to install ajax in my website. But i got the following error. I am using asp.net 2.0 and the steps i followed are as follows.
Downloaded and run the the ASPAJAXExtSetup.msi from the this link
Modified the web.config as mentioned by this link
After doing the above things when i run the applicaion i got the error.
I googled it out and i found out that i need to refer System.Web.Extension.dll into bin directory.But i cannot find the dll in the folder C;/ProgramFiles/Microsoft ASP.NET /ASP.NET 2.0 AJAX Extensions/v 1.0.61025.
Is this the real cause of the error?
You are getting this error because you did not import the reference to your project. The resulting XML will be added when you do so. To do this:
Right click on your web project and select Property Page In the
Reference window
You should see a reference for
System.Web.Extension, if you do not, you need to add it.
Click the "Add Button" and select the .Net Tab.
Scroll Down to the System.Web.Extension component and select OK
This should add the reference and DLL to your project. If not, let me know.