Hi
I open Visual Studio 2017, it shows the message:
And the IDE closes immediately.
Hi
I open Visual Studio 2017, it shows the message:
And the IDE closes immediately.
This post is about Winforms code generation in VS 2019.
Until now (VS 2015, 2017), if I had a Button in a form called btnAccept and in the Properties window double-clicked on the Click event, a handler was created called btnAccept_Click. After installing VS 2019 the code generates a handler with the name BtnAccept_Click. The first letter has been capitalized. Can I do anything to revert back to the prior naming convention?
Thanks,
Martin.
Been programming since 1982, still going
Create a New Project-> C ++ ->Empty ProjectCLR;
Add->New Item-> UI ->FormWindows Forms
And allthese thingsclimbsthe perfectwindow:
The data necessaryto complete this operationnot yet available.(Exception fromHRESULT: 0x8000000A)
Call stack:
in Microsoft.VisualStudio.Designer.Interfaces.IVSMDCodeDomProvider.get_CodeDomProvider()
in Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom.CodeDomDocDataAdapter.get_Provider()
in Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom.CodeDomDocDataAdapter.get_CompileUnit()
in Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)
in Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.DeferredLoadHandler.Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferDataEvents.OnLoadCompleted(Int32 fReload)
What to do?) triedto reinstall, zeroeffect
Hi
i've found and installed Multilingual App Toolkit 4.0 within my vs 2015 via Tools > Extensions and updates... menu, but does not exists in Tools menu inside my vs 2015 project.
Note 1 : i've found "Multilingual App Toolkit 4.0" inside Tools > Extensions and updates... > Installed but disabled and con not disable or uninstall it!
Note 2 : I think it does not installed correctly (i uninstall and install again 3 time but not worked!), because in installing process, when reached to "Registering visual studio 2015 extensions ..." after a pretty long time, without complete progressBar of installer, go to final page which tell me installation completed.
Note 3 : i'm using Visual Studio 2015 Update 1
Can anybody experience this problem and give me how to work-around this problem?
Thanks in advance
http://www.codeproject.com/KB/codegen/DatabaseHelper.aspx
Hello Community,
i would like to deploy my console application from my VS 2017 community to other Windows Server 2012 R2.
If I click right mouse button on my project and then "publish" to folder, I became in this folder an install-package, but not an extracted application.
My application should to be installed in this case, before to be used.
But, I would like to publish my release-output direct to live-folder, (because my application will be started from Windows-Task).
How can I achive this goal?
Thanks
I am receiving this error when running an ASP.NET MVC 5.27 application. I am running Visual Studio 2017. I have all the web developer tools installed for Visual Studio.
Server Error in '/' Application.
Thanks in advance for any help.
I am trying to create a test case work item using Visual Studio 2013 ultimate, but there seems no way I can insert a step (Action/Expected Result) to the new test case in visual studio. In MTM, there is a line of text says "Click here to add a step" at the bottom for me to click and add a new step, but there is nothing like that in Visual Studio. Anyone know why? Am I missing some configuration somewhere?
Thanks.
I've once written an extension for Visual Studio. Well, copied and hacked it together. I never quite understood how that works. But it's very useful and I don't want to miss it. I also want to see it in the VS gallery again so it needs to be upgraded to the latest standards. The extension officially supports VS 2010 to 2015, since then everything has changed. The manifest file format is completely new, and it seems like none of the packages, references and classes are known anymore.
The extension does work fine in VS 2017, and I'm sure it would still work in VS 2019 if I just incremented the version number. But the VS gallery won't even let me upload it. So installing it in VS 2017 is already a manual process with a warning showing up.
Here's the page with a link to the source code: https://marketplace.visualstudio.com/items?itemName=ygoe.TODOHighlighter
Can somebody please give me guidance what I need to do to rewrite this with today's tools? I've opened VS 2019 and created a new VS extension project. It looks completely different to my old project. Nothing to compare. And copying in the old files (just two short source files) gives me errors of missing types. So that's doesn't lead me anywhere. I also don't know what to use the new generated file for, TodoHighlighterPackage.cs. It contains long comments I don't understand.
Hi All,
I've spent near 3 full days going round in circles searching and try things so if someone could advise I would really appreciate it!
I'm Developing on Windows 10, in VS 2017. I have SSMS installed and Office 365
Target device Runs windows 10 and that is about it so it quite empty so I thought a good test bed to try a load on.
The issue I have is I have created a windows forms App that connects to a local .MDF file that works fine on mine during dev (usual start to these posts) and installs fine after publish, but on the target machine it error on connection to the .mdf file.
Things I have done:
The error I get is (shortened)
' A networlk related or instance specific error occurred while establishing a connection to SQL Server. The Server was not found or was not accessible, Verify the instance name is correct and that SQl server is configured to allow remote connections. Error 56 Unble to load the SQL userinstance.dll from the location specified on the registry Verify that the local database runtime feature of SQL server Express is property installed.
So SQL Server would not be on this machine as it's just pretty bland at the moment. I added the '2012 Express LocalDB' as understood that this would install the basics to run queries against the .mdf file.
The way it was told to me before development is that this method is much like adding an access file and using that as a database but you can use a SQL lite version which doesn't need the end user to install SQL server on their machine.
Could someone advise please as t's taking days out of my life :(
Regards
Scott
My company's flagship SaaS product is so large, and has been around so long, that various modules are configured for just about every flavor of Visual Studio -- we have people still working in 2005, 2008, 2010, 2013, and just starting to use 2015.
My role in all this is to provide a VM environment with a standardized template for development, so it has all their development tools preinstalled. Over the past few months I have installed umpteen versions of Visual Studio, SQL Server, and I don't remember what else.
Last month, someone requested Business Intelligence Development Studio for their VS2005 project. I did that, and all was well. Then over the past few weeks I also added VS 2010, which I then had to remove and reinstall because we had filled up the available virtual disk space on the VM image.
Somewhere in there, I broke BIDS in VS 2005. Before, when you click on "New Project", you get several Business Intelligence sample templates to choose from: Analysis Services Project, Import Analysis Services 9.0 Database, Integration Services Project, Report Server Project Wizard, Report Model Project, and Report Server Project.
Now, only Report Server Project and Report Server Project Wizard are visible. Where did the other ones go? I tried uninstalling and reinstallingSQLEXPR_TOOLKIT, which provides only the BIDS tools without a full SQL Server installation, but still those other templates are missing.
Can someone tell me which packages provides the other templates, and what I need to reinstall to make them reappear?
PBS
I have an executable I wish to deploy to a device via command-line tools. I wish to deploy this executable via "Deploy Solution", and thus want to check the "Deploy" checkbox in the Configuration Manager. This means that Visual Studio needs to think my project is "deployable". (I'm currently using 2015 but will switch versions if something was added/fixed in a future version.
I had hoped this would be as simple as adding a Deploy Target in my vcxproj, like so:
<Target Name="Deploy"><Message Text="Hello World" /></Target>
But this is not working--that project does not have the ability to check the "Deploy" checkbox, nor is it considered if I do a Deploy Solution. (I can build the Deploy target from the command-line with msbuild, though.)
My vcxproj is currently using Makefile as the ConfigurationType and MakeFileProj as the Keyword in the globals PropertyGroup. The Platform is set to something I made up. I'm not strongly tied to using Makefile; I'll use any project type I can which will work. I don't even need intellisense to work for this project (I already have another vcxproj for building the code.)
(At some point in playing around with this, I did get Visual Studio to think the project was deployable! But I can't repeat that achievement.)
I'm using Visual Studio Community 2017. I'm trying to learn how to use C# with Xamarin to write apps. So I followed the tutorial that Microsoft directs you to use with a link within Visual Studio.
So I installed everything and followed the instructions (for the weather app tutorial) up to the point where it says to run a build to make sure there are no errors. But I keep getting the following error.
Error CS0656 Missing compiler required member 'Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create'
In Core.cs code, the error involves the following bit of code. I get a red underline on the word "results" in the second line.
dynamic results = await DataService.getDataFromService(queryString).ConfigureAwait(false);
if (results ["weather"] != null)
I was wondering how to eliminate this error. I redid the tutorial from scratch, reloading and updating everything, including Visual Studio, but this error still pops up. Thanks.dwigley
When attempting to change the requirement State field from 'Proposed' (Reason='New') to 'Active' (Reason='Accepted'), the above error message is received.
We are using VS Version 15.9.9 and the web client.
How can this be resolved?
Thanks.
Hi Team,
I have created custom host for T4 template transform based on below mention Microsoft document link.
https://github.com/MicrosoftDocs/visualstudio-docs/blob/master/docs/modeling/walkthrough-creating-a-custom-text-template-host.md
I tried to transform T4 template. but its get "ErrorGeneratingOutput".
I have get below error in host error list.
Error :
There was a problem getting an AppDomain to run the transformation from the host. The process cannot continue.
Same method I used in console application its working fine. But when use above code/method in Visual Studio extension project its get error.
Note:Issue occurred Visual Studio 2015, 2017
I have searched more link there is no solution. So, please update idea to resolve above reported issue.
Regards,
Jaya
I call a routine to set timeouts calling SetCommTimeouts to a RS232 COM port.
I print out the parameters before each call.
On the second pass, SetCommTimeouts does not return.
Whether it succeeds or fails, there should be a debug line following. On the second pass, there is not, SetCommTimeouts does not return.
if ( bset ) {
vciprintf("nilanrd settimeouts: Rint %d RttlM %d RTC %d WTM %d WTC %d",
CommTimeouts.ReadIntervalTimeout, CommTimeouts.ReadTotalTimeoutMultiplier, CommTimeouts.ReadTotalTimeoutConstant, CommTimeouts.WriteTotalTimeoutMultiplier, CommTimeouts.WriteTotalTimeoutConstant ); if ( !SetCommTimeouts( hLAN, &CommTimeouts ) ) { int iErr = (int)GetLastError(); errmsg("nilanrd", 20, iErr ); vciprintf("nilanrd: setcommtimeouts error %d", iErr ); } else { vciprintf("nilanrd: setcommtimeouts succeeded lan.istate %d CommTimeouts.ReadTotalTimeoutConstant %d", lan.istate, CommTimeouts.ReadTotalTimeoutConstant ); if ((lan.istate == STRT_OF_PCKT) && CommTimeouts.ReadTotalTimeoutConstant) { vciprintf("nilanrd: setcommtimeouts calling purgecomm "); PurgeComm(hLAN, PURGE_RXABORT); vciprintf("nilanrd: setcommtimeouts purgecomm called "); } }
vciprintf( "nilanrd write_packet settimeouts and we should be done");
}
Output:
first pass: nilanrd settimeouts: Rint 0 RttlM 0 RTC 0 WTM 0 WTC 500 nilanrd: setcommtimeouts succeeded lan.istate 0 CommTimeouts.ReadTotalTimeoutConstant 0 nilanrd write_packet settimeouts and we should be done second pass: nilanrd settimeouts: Rint 0 RttlM 0 RTC 500 WTM 0 WTC 1500
Any advice?
Boyd
BDM
I have a test project to which I'm attempting to add a configuration file; however, in VS 2019, the option does not show up when I select Add > New Item...
I've tried restarting VS, unloading and reloading the project, and rebuilding the project/solution and nothing seems to work. I can still add web configs to a web project but the application config option doesn't show up anywhere. I'm still able to
add app configs in VS 2017 so I currently have a workaround; however, I would like to not have to switch back to 2017 every time I need to add a config. Any help or advice will be greatly appreciated!
public class MvcApplication : System.Web.HttpApplication { protected void Application_Start() { AreaRegistration.RegisterAllAreas(); FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); RouteConfig.RegisterRoutes(RouteTable.Routes); BundleConfig.RegisterBundles(BundleTable.Bundles); Proc.Configure("https://api.mydomain.com/"); } }
public static class Proc { private static HttpClient _client; public static void Configure(string Baseurl) { _client = new HttpClient(); _client.BaseAddress = new Uri(Baseurl); _client.DefaultRequestHeaders.Clear(); //Define request data format _client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json")); } public static async Task<T> Settings<T>() { if (!string.IsNullOrWhiteSpace(Account.AccessToken)) _client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", Account.AccessToken); var resp = await _client.GetAsync($"api/superadmin/settings"); var txt = await resp.Content.ReadAsStringAsync(); return JsonConvert.DeserializeObject<T>(txt); } }
What could be keeping a build to relink the image, a DLL with a RPC IDL file? I excluded the MIDL compile of the IDL file, which created the server stub *_s.c file, but the build keeps relinking?
Suggestions? Is there any trace I do see what "make" logic is forcing the relink?
There were two lib dependencies which I removed as well.
Thanks
Hector Santos, CTO Santronics Software, Inc. http://www.santronics.com