visual-studio-2013

ERROR: EntityFramework.dll not found after I installed Entity Framework 6.1.3

落爺英雄遲暮 提交于 2020-01-06 12:13:10
问题 How can I resolve this error? I have added the Entity Framework 6.1.3 from this link: Download EntityFramework 6.1.3 for Visual Studio 2013 (after uninstalling and re-installing it again and again) Now that it has been added and in the project created a .emdx file using ADO.NET Entity Data Model . When I try to build it, the following error pops: EntityFramework.dll not found (after Compilation) 回答1: Don't uninstall the Visual Studio. Installing the Entity Framework 6 Tools for Visual Studio,

Drawing a WPF shape, as a Rectangle: StrokeThickness halve if Stroke is Transparent

|▌冷眼眸甩不掉的悲伤 提交于 2020-01-06 11:48:24
问题 the problem: I have some UCControl than design geometric shapes. I can configure at runtime, dimensions (size and stroke thickness), colours (background and stroke) and all work fine until I use solid colors. Problems happened if I use, for stroke, Transparent brush: the shape appears with correct dimensions and colours, but the strokethikness is halve. <Grid x:Name="_grid" > <Grid.ColumnDefinitions> <ColumnDefinition Width="*" /> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition

Cannot load music file

柔情痞子 提交于 2020-01-06 10:18:31
问题 I put the music(mp3) file in the music folder and created a Song song; object in the game class. Then I did song = Content.Load<Song>("music file name here") in the ContentLoad method and did MediaPlayer.Play(song) . But it gives me an error saying: Could not load music asset I tried making the "Copy to Output Directory" to "Copy always". But this also didn't solve the problem. I heared about monogame not having a content pipe line, but I don't understand what it is. Can anyone explain what I

Cannot find decorated function name in dll

五迷三道 提交于 2020-01-06 08:24:14
问题 I created a dll project in Visual Studio 2013 After compiling, I run dumpbin /symbols DLLTest.dll via cmd.exe in the directory where the dll is located, but I only get the summary I ran dumpbin /all DLLTest.dll (with the text output option) but I could not find the decorated function name in the output (I searched for int and getSomeNum that should be part of the decorated name in the output dump). I also tried to find a way in VS2013 to enter /FAs into the compiler options, but I was unable

Visual Studio Xampp data connection

谁说胖子不能爱 提交于 2020-01-06 05:10:09
问题 I want to add a data connection in Visual Studio 2013. I want to use Xampp for hosting my database on localhost. I seted up my database with phpmyadmin. Now i want to add a connection in VS. Under server explorer i choose add new data connection. I choose the micorosoft odbc data structure. Next i wanted to build a new connection string. But i cannot find a Mysql odbc driver for that. So i downloaded it directly from mysql http://dev.mysql.com/downloads/connector/odbc/ and installed it. I

Change syntax coloring for a file extension in Visual Studio 2013

让人想犯罪 __ 提交于 2020-01-06 02:41:32
问题 I have a file1.cshtml that really contains JSON data. I'd like the syntax highlighting, etc. to reflect this. I tried going to Tools > Options > Text Editor > File Extension and changed the cshtml extension's Editing Experience to be JSON Editor. I then closed and reopened Visual Studio, but my editor isn't showing the desired syntax highlighting. I can copy and paste the contents of file1.cshtml into file2.json and everything looks ok, but I'd rather not have to do it this way. I'm using

SSDT disappeared! in VS 2013

感情迁移 提交于 2020-01-06 02:36:26
问题 I have started to prefer SSDT to SQL Management studio. But suddenly when I needed it I could not find SQL Server Object Explorer in view menu. Not sure who took it away, I recently pushed update-2 for visual studio. I could not locate stand-alone version of SSDT for VS-2013 Can any one please save me from re-installing Visual Studio :-( 回答1: According to this blog post on MSDN SSDT is now an integrated part of VS: Visual Studio 2013 - VS 2013 now has SQL Server tooling built in and shipped

Need more explanation on LNK2038 mismatch dectected for '_MSC_VER'

不想你离开。 提交于 2020-01-06 02:22:22
问题 I inherited an old program from a colleague that is no longer with the company. It's an CPLEX optimization we use. It was built in house in C++ using Visual Studio 2005 and CPLEX121. The server where it's located is being decommissioned and we're trying to migrate it to a new server. I'm trying to rebuild the new application in Visual Studio 2013 using CPLEX126 for the optimizations. Error I get is: Description: error LNK2038: mismatch detected for '_MSC_VER': value '1600' doesn't match value

Need more explanation on LNK2038 mismatch dectected for '_MSC_VER'

我只是一个虾纸丫 提交于 2020-01-06 02:22:04
问题 I inherited an old program from a colleague that is no longer with the company. It's an CPLEX optimization we use. It was built in house in C++ using Visual Studio 2005 and CPLEX121. The server where it's located is being decommissioned and we're trying to migrate it to a new server. I'm trying to rebuild the new application in Visual Studio 2013 using CPLEX126 for the optimizations. Error I get is: Description: error LNK2038: mismatch detected for '_MSC_VER': value '1600' doesn't match value

Disable automatic commit of changed files in Visual Studio 2013 to git

余生颓废 提交于 2020-01-06 01:34:10
问题 Problem: When I add a new file into a web project in VS 2013, it is immediately "checked in" to git; the file is immediately saved and then the "check in" icon appears to the left of the file. If I make a change to an existing file, the moment I save the file it "checks in". Please note that the source git repository is not modified, but I think my local repository is being checked into. Expected behavior: Add a new file or change an existing one, save, file stays "checked out" and must be