“The Concurrency field is required”

I spent about an our looking into this error. I had looked at my edmx and everything seemed normal for an auto generated concurrency field. I deleted the table, re-added, but still no luck. I then looked at my model to see if anything had changed from another developer, and had noticed my concurrency field now had a [required] attribute. My thinking was...

Autocompletion for NotePad++

I know I know, Notepad++ is a text editor, not a IDE. However we can do a few things to make our lives easier when programming in Notepad++ such as enabling some basic code completion. To set this up go to Settings -> Preferences , then to the Backup/Auto-Completion Tab. There will then be option under the Auto-Completion group to Enable auto-completion on...

The OutputPath property is not set for project

I recently got the error “The OutputPath property is not set for project ‘[ProjectName]’. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration=’Debug’ Platform=’BPC’. This error may also appear if some other project is trying to follow a project-to-project reference to this project, this project has been unloaded or...

What is MyApp.vshost.exe, and why Can’t I Kill It?

The visual studio hosting process a.k.a [YourAppName].vshost.exe in brief is the debugging information that Visual Studio creates for between runs to help improve debugging performance and other various functions. I had first worked with these files when I had to clean out my bin folder and noticed these files would not delete and were still in use. I had found...

Nested Case Statements in SQL

Need to do nested Case statements in SQL? Use the following syntax. This should result in ‘a1b1 – yar’ This took me a little time to work out the syntax, but pretty simple once I understood case statements a little better. For some more info on case statements, you can go to the msdn  article located at http://msdn.microsoft.com/en-us/library/ms181765.aspx

Using Transactions in the Entity Framework (EF4)

You have multiple updates and want to implement transactions into your database updates in the Entity Framework? I had to do just that in C# , so I thought I’d share what I learn for to remember, and for you to learn. To do this, we must create a TransactionScope, and move around our save function a little bit in...

The breakpoint will not currently be hit. The source code is different from the orginal version.

I noticed that my code was not being reflected in the current build of my application. Then taking a closer look and setting a break point at the code that was not being ran, I hit F5 and noticed a bubble with a warning triangle that had the following message. The breakpoint will not currently be hit. The source code...

Automated Backups of Your SQL Database

Ever find yourself taking precious time and backing up all your databases, only to forget and be behind? I am currently working on some Alpha-PreAlpha software whose database structure changes with time like any other application. To solve the issue with remembering to back up however, I decided to automate it, and not have to worry. There probably is a...

Creating Ringtones for the IPhone

There are quite a few services out there that either let you download ringtones for ‘free’ or allows you to cut a song that you own on a website. Another option is to edit the start and end time on later versions of ITunes, switching the extension, then copying to the device. I prefer a different option, doing it myself....

%d bloggers like this: